var path = require('path');
module.exports = {
    entry: './src/main.js',
    output: {
        path: path.join(__dirname, './dist/'), //这里必须是绝对路径
        filename: 'bundle.js'
    },
    mode: "development"
};